Remove "fake SONAME" mechanism
authorSimon McVittie <smcv@debian.org>
Wed, 6 May 2020 09:09:16 +0000 (10:09 +0100)
committerSimon McVittie <smcv@debian.org>
Wed, 6 May 2020 14:59:45 +0000 (15:59 +0100)
The library is now built as libgtk-4.so.0 (although the ABI is still
not yet stable).

debian/control
debian/libgtk-4-0.lintian-overrides [deleted file]
debian/libgtk-4-0.symbols.in
debian/rules

index d75d6bb71c95411da37bdae69bc5275fc139f63f..b96cad63b6c1a479bd18f227db923c315df9c021 100644 (file)
@@ -72,7 +72,7 @@ Depends: adwaita-icon-theme,
          ${misc:Depends},
          ${shlibs:Depends},
          libgtk-4-common (>= ${source:Version})
-Provides: gtk4-binver-4.0.0, libgtk-4-0.9800.0
+Provides: gtk4-binver-4.0.0
 Recommends: libgtk-4-bin
 Suggests: gvfs,
           librsvg2-common
@@ -94,7 +94,7 @@ Section: debian-installer
 Architecture: any
 Depends: ${misc:Depends},
          ${shlibs:Depends}
-Provides: gtk4-binver-4.0.0, libgtk-4-0.9800.0
+Provides: gtk4-binver-4.0.0
 Description: GTK graphical user interface library - minimal runtime
  This is a udeb, or a microdeb, for the debian-installer.
  .
diff --git a/debian/libgtk-4-0.lintian-overrides b/debian/libgtk-4-0.lintian-overrides
deleted file mode 100644 (file)
index f2931ed..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-# During Gtk 4 development, every release breaks the ABI. For now we use
-# Provides: libgtk-4-0.whatever instead of renaming the binary package,
-# to avoid regular trips through the NEW queue.
-libgtk-4-0: package-name-doesnt-match-sonames libgtk-4-0.*
index f97964be3a7daa141a4453d80d7d0156b8b18bf4..f2a7e37601d5d76b2953294e11c4d9a3c004d9de 100644 (file)
@@ -1,4 +1,4 @@
-libgtk-@APIVER@.so.@SONAME@ @SHARED_PKG@ #MINVER#, libgtk-@APIVER@-@SONAME@
+libgtk-@APIVER@.so.@SONAME@ @SHARED_PKG@ #MINVER#
 * Build-Depends-Package: libgtk-4-dev
  gdk_anchor_hints_get_type@Base 3.91.2
  gdk_app_launch_context_get_display@Base 3.98.2
index e72375f7975a67ca82ba4ae30729b0de24f9b5cf..d025c29e05b3ac5ecd7264ba760158fe18e2299e 100755 (executable)
@@ -16,13 +16,7 @@ all_binaries := $(shell sed -ne 's/^Package: *//p' < debian/control)
 LDFLAGS += -Wl,-O1
 
 APIVER := 4
-# The library is packaged as though this is its SONAME version (which will
-# be true for the GTK 4 stable release), to avoid going through the NEW
-# queue a lot...
-FAKE_SONAME := 0
-# ... but while it's in development, the SONAME version is really this,
-# changing with every upstream release
-SONAME := 0.9802.0
+SONAME := 0
 
 LIBDIR := usr/lib/$(DEB_HOST_MULTIARCH)
 
@@ -30,7 +24,7 @@ LIBDIR := usr/lib/$(DEB_HOST_MULTIARCH)
 GTK_BINARY_VERSION := 4.0.0
 
 # Gtk binary version virtual Provide
-GTK_BINVER_DEP := gtk$(APIVER)-binver-$(GTK_BINARY_VERSION), libgtk-$(APIVER)-$(SONAME)
+GTK_BINVER_DEP := gtk$(APIVER)-binver-$(GTK_BINARY_VERSION)
 
 # relative base directory for configuration
 CONFDIR := etc/gtk-4.0
@@ -39,7 +33,7 @@ CONFDIR := etc/gtk-4.0
 MODULES_BASE_PATH := $(LIBDIR)/gtk-4.0/$(GTK_BINARY_VERSION)
 
 # package names
-SHARED_PKG := libgtk-$(APIVER)-$(FAKE_SONAME)
+SHARED_PKG := libgtk-$(APIVER)-$(SONAME)
 COMMON_PKG := libgtk-$(APIVER)-common
 DEV_PKG := libgtk-$(APIVER)-dev
 UDEB_PKG := $(SHARED_PKG)-udeb